export default {
    data: {
    //上一曲按钮图片
        lastImage: "/common/gray_last.png",

    //播放按钮图片
        playImage: "/common/play.png",

    //下一曲按钮图片
        nextImage: "/common/gray_next.png",

    //歌曲封面
        picName: "/common/music.png",

    //进度条的值
        progressValue: 0,

    //按钮点击发送message
        last: "last",
        play: "play",
        next: "next",

    //歌曲名
        songName: "未播放",

    //歌手名
        singer: "未知歌手",

    //歌词列表
        lyric: [{
                    fontColor: "#9C9C9C",
                    fontSize: "14px",
                    Lrc: "",
                }],

    // 柱状图数据
        barData: [
            {
                a: "#5F9B30FF",
                fillColor: "#9B30FF",
                data: [1000, 1000, 1000, 1000, 1000, 1000],
            }
        ],
        barOps: {
            xAxis: {
                min: 0,
                max: 20,
                display: false,
                axisTick: 6
            },
            yAxis: {
                min: 0,
                max: 1000,
                display: false
            }
        }
    },
    actions: {
    //跳转事件
        routerEvent: {
            action: "router",
            bundleName: "com.example.wryproject",
            abilityName: "com.example.wryproject.MusicAbility"
        },

    //message事件
        lastEvent: {
            action: "message",
            params: {
                message: this.last
            }
        },
        playEvent: {
            action: "message",
            params: {
                message: this.play
            }
        },
        nextEvent: {
            action: "message",
            params: {
                message: this.next
            }
        },
    }
}
